<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <th>订单id</th>
        <th>订单信息</th>
        <th>订单价格</th>
        <th>订单商品</th>
    </tr>
    <tr th:each="order:${list}">
        <td th:text="${order.id}"></td>
        <td th:text="${order.orderinfo}"></td>
        <td th:text="${order.orderprice}"></td>
        <td>
            <ul th:each="product:${order.productList}">
                <li th:text="${product.productname}"></li>
            </ul>
        </td>
    </tr>

</table>
</body>
</html>